<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>详情查看</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            padding: 20px;
            background-color: #f5f5f5;
            color: #333;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .header {
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .header h2 {
            margin: 0;
            color: #1e88e5;
        }

        .user-info {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 15px;
            object-fit: cover;
        }

        .user-details {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
        }

        .user-main-info {
            width: 100%;
            margin-bottom: 10px;
        }

        .user-extra-info {
            display: flex;
            width: 100%;
        }

        .user-extra-col {
            flex: 1;
            min-width: 150px;
        }

        .detail-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }

        .detail-item:last-child {
            border-bottom: none;
        }

        .label {
            font-weight: bold;
            color: #555;
            min-width: 100px;
            display: inline-block;
        }

        .content-box {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 4px;
            margin: 10px 0;
        }

        .qrcode {
            max-width: 200px;
            margin-top: 10px;
            margin-right: 10px;
        }

        .publish-time {
            position: absolute;
            bottom: 20px;
            right: 25px;
            color: #888;
            font-size: 0.9em;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="header">
            <h2>详情信息</h2>
        </div>

        <div class="user-info">
            <img src="{$row.user.avatar}" class="avatar" alt="用户头像">
            <div class="user-details">
                <div class="user-main-info">
                    <h3 style="margin: 0;display: inline-block;">ID: {$row.user_id}</h3>
                    <h3 style="margin: 0;display: inline-block;margin-left: 10px;">{$row.user.nickname}</h3>
                </div>
                <div class="user-extra-info">
                    <div class="user-extra-col">
                        <div><span class="label">手机号:</span> {$row.user.mobile}</div>
                    </div>
                    <div class="user-extra-col">
                        <div><span class="label">登录IP:</span> {$row.user.loginip}</div>
                    </div>
                    <div class="user-extra-col">
                        <div><span class="label">加入时间:</span> {:date('Y-m-d', $row.user.jointime)}</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="detail-item">
            <span class="label">内容:</span>
            <div class="content-box">{$row.content}</div>
        </div>

        <div class="detail-item">
            <span class="label">图片:</span>
            <div>
                {foreach($row.images as $img)}
                    <img src="{$img}" class="qrcode" alt="反馈图片">
                {/foreach}
            </div>
        </div>

        <div class="publish-time">
            发布时间: {:date('Y-m-d H:i:s', $row.createtime)}
        </div>
    </div>
</body>

</html>